package com.easyjava.qingke.memo.mybatis.IDao;

import java.util.List;

import com.easyjava.qingke.memo.mybatis.pojo.Days;
import com.easyjava.qingke.memo.mybatis.pojo.MemoContent;

public interface MemoContentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MemoContent record);

    int insertSelective(MemoContent record);

    MemoContent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MemoContent record);

    int updateByPrimaryKey(MemoContent record);
    
    List<MemoContent> selectByCreateTime(Days days);
    
    List<MemoContent> getAllMemoContent();
    
    List<MemoContent> getByTitleOrContent(MemoContent memoContent);
    
    MemoContent getByTitle(String title);
    
    MemoContent getByContent(String content);
}